package com.lzy.cloud.user.remote;

import com.lzy.cloud.user.remote.dtos.ShopDto;
import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "lzy-cloud-shop")
public interface ShopApi {

    /**
     * 新增商户
     *
     * @param shopDto
     * @return
     */
    @RequestMapping(value = "/shop/add")
    Result addShop(ShopDto shopDto);
}
